<template>
	<view class="container">
		<web-view :src="url"></web-view>
	</view>
</template>

<script setup>
	import { onLoad } from "@dcloudio/uni-app"
	import { ref } from "vue";
	import { CONFIG } from "../../utils/config";
	
	import {userStore} from "../../store/userStore.js"
	const store = userStore()
	
	const url = ref("")
	onLoad((data)=>{
		url.value=`${CONFIG.gaode_line_url}?start=${data.slon},${daya.slat}&dest=${data.elon},
		${data.elat}$destName=${data.name}&$key=${CONFIG.gaode_key}&jscode=${CONFIG.gaode_skey}`
	}
</script>

<style>

</style>
